package com.dd.cloud.user.entity.consult;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "webSocket私聊群")
public class WebSocketPrivateGroup implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 数据表说明:后台管理用户表
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;


    /**
     * 医生id
     */
    @Column(comment = "医生id")
    private Integer doctorId;


    /**
     * 聊天专家
     */
    @Column(comment = "专家id")
    private Integer adminUserId;


    /**
     * 接受时间
     */
    @Column(comment = "接受时间")
    private LocalDateTime startDate;


    /**
     * 结束时间
     */
    @Column(comment = "结束时间")
    private LocalDateTime endDate;


    /**
     *状态 1.待处理 2.处理中 3.已完成
     */
    @Column(comment = "1.待处理 2.处理中 3.已完成")
    private Integer status;


    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;

}
